<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <%@include file="/static/common/common.jsp" %>
    <script type="text/javascript" src="/static/js/information/organization.js"></script>
</head>
<body>
<table id="org_datagrid"></table>

<div id="org_toolbar">
    <a class="easyui-linkbutton" iconCls="icon-add2 iconfont" plain="true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" iconCls="icon-bianji iconfont" plain="true" data-cmd="edit">编辑</a>
    <a id="copper_btn" class="easyui-linkbutton" iconCls="iconfont icon-shanchu" plain="true"
       data-cmd="changeCooperation">解除</a>
    <input id="keyword" class="easyui-textbox" prompt="机构代码/名称">
    <input id="cooper" class="easyui-combobox" name="cooperation" editable="false"
           data-options="panelHeight:'auto',textField:'text',valueField:'value',
                         data:[{text:'--合作状态--',value:''},{text:'合作',value:'1'},{text:'解除',value:'0'}]" />
    <a class="easyui-linkbutton" iconCls="iconfont icon-sousuo" plain="true" data-cmd="query">查询</a>
    <a class="easyui-linkbutton" iconCls="iconfont icon-shuaxin" plain="true" data-cmd="refresh">刷新</a>
</div>

<div id="form_btns">
    <a class="easyui-linkbutton" iconCls="iconfont icon-dui" plain="true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" iconCls="iconfont icon-jujue" plain="true" data-cmd="cancel">取消</a>

</div>

<div id="org_dialog">
    <form id="org_form" method="post">
        <input type="hidden" name="id" id="orgId"/>
        <table align="center" style="margin-top: 15px;margin-left: 18px;">
            <tbody>
            <tr>
                <td>机构代码:</td>
                <td><input name="sn" class="easyui-textbox"/></td>
            </tr>
            <tr>
                <td>机构名称:</td>
                <td><input name="name" class="easyui-textbox"/>
                </td>
            </tr>
            <tr>
                <td>法人代表:</td>
                <td><input name="legalPerson" class="easyui-textbox"/></td>
            </tr>
            <tr>
                <td>身份信息:</td>
                <td><input name="identityInfo" class="easyui-textbox"
                           data-options="required:true"/></td>
            </tr>
            <tr>
                <td>联系方式:</td>
                <td><input name="tel" class="easyui-textbox"
                           data-options="validType:'length[11,11]'"/></td>
            </tr>
            <tr>
                <td>联系地址:</td>
                <td><input name="address" class="easyui-textbox"/></td>
            </tr>
            <tr>
                <td>合作状态:</td>
                <td><input name="cooperation" class="easyui-combobox" editable="false"
                           data-options="panelHeight:'auto',textField:'text',valueField:'value',
                                         data:[{text:'合作',value:'1'},{text:'解除',value:'0'}]"/></td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
</body>
</html>
